Remove the get_all method from most classes -- we'd like people to be able to
authorEwan Mellor <ewan@xensource.com>
Thu, 26 Oct 2006 17:17:56 +0000 (18:17 +0100)
committerEwan Mellor <ewan@xensource.com>
Thu, 26 Oct 2006 17:17:56 +0000 (18:17 +0100)
get all VMs, for example, but for VBDs et al it doesn't really make sense.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
docs/xen-api/xenapi-datamodel.tex

index 4ed044d72ffc1491f38c375e1784b66719cf1745..8c06fb8a33a4a5bd98cc22546468bc22f776955b 100644 (file)
@@ -513,27 +513,6 @@ all fields from the object
 \vspace{0.3cm}
 \vspace{0.3cm}
 \vspace{0.3cm}
-\subsubsection{RPC name:~get\_all}
-
-{\bf Overview:} 
-returns a set of references to all objects
-
- \noindent {\bf Signature:} 
-\begin{verbatim} ((session ref) Set) get_all (session_id s)\end{verbatim}
-
-
-\vspace{0.3cm}
-
- \noindent {\bf Return Type:} 
-{\tt 
-(session ref) Set
-}
-
-
-references to all objects
-\vspace{0.3cm}
-\vspace{0.3cm}
-\vspace{0.3cm}
 
 \vspace{1cm}
 \newpage
@@ -900,27 +879,6 @@ all fields from the object
 \vspace{0.3cm}
 \vspace{0.3cm}
 \vspace{0.3cm}
-\subsubsection{RPC name:~get\_all}
-
-{\bf Overview:} 
-returns a set of references to all objects
-
- \noindent {\bf Signature:} 
-\begin{verbatim} ((task ref) Set) get_all (session_id s)\end{verbatim}
-
-
-\vspace{0.3cm}
-
- \noindent {\bf Return Type:} 
-{\tt 
-(task ref) Set
-}
-
-
-references to all objects
-\vspace{0.3cm}
-\vspace{0.3cm}
-\vspace{0.3cm}
 \subsubsection{RPC name:~get\_by\_name\_label}
 
 {\bf Overview:} 
@@ -3855,27 +3813,6 @@ all fields from the object
 \vspace{0.3cm}
 \vspace{0.3cm}
 \vspace{0.3cm}
-\subsubsection{RPC name:~get\_all}
-
-{\bf Overview:} 
-returns a set of references to all objects
-
- \noindent {\bf Signature:} 
-\begin{verbatim} ((VM ref) Set) get_all (session_id s)\end{verbatim}
-
-
-\vspace{0.3cm}
-
- \noindent {\bf Return Type:} 
-{\tt 
-(VM ref) Set
-}
-
-
-references to all objects
-\vspace{0.3cm}
-\vspace{0.3cm}
-\vspace{0.3cm}
 \subsubsection{RPC name:~get\_by\_name\_label}
 
 {\bf Overview:} 
@@ -4499,27 +4436,6 @@ all fields from the object
 \vspace{0.3cm}
 \vspace{0.3cm}
 \vspace{0.3cm}
-\subsubsection{RPC name:~get\_all}
-
-{\bf Overview:} 
-returns a set of references to all objects
-
- \noindent {\bf Signature:} 
-\begin{verbatim} ((host ref) Set) get_all (session_id s)\end{verbatim}
-
-
-\vspace{0.3cm}
-
- \noindent {\bf Return Type:} 
-{\tt 
-(host ref) Set
-}
-
-
-references to all objects
-\vspace{0.3cm}
-\vspace{0.3cm}
-\vspace{0.3cm}
 \subsubsection{RPC name:~get\_by\_name\_label}
 
 {\bf Overview:} 
@@ -4959,27 +4875,6 @@ all fields from the object
 \vspace{0.3cm}
 \vspace{0.3cm}
 \vspace{0.3cm}
-\subsubsection{RPC name:~get\_all}
-
-{\bf Overview:} 
-returns a set of references to all objects
-
- \noindent {\bf Signature:} 
-\begin{verbatim} ((host_cpu ref) Set) get_all (session_id s)\end{verbatim}
-
-
-\vspace{0.3cm}
-
- \noindent {\bf Return Type:} 
-{\tt 
-(host\_cpu ref) Set
-}
-
-
-references to all objects
-\vspace{0.3cm}
-\vspace{0.3cm}
-\vspace{0.3cm}
 
 \vspace{1cm}
 \newpage
@@ -5511,27 +5406,6 @@ all fields from the object
 \vspace{0.3cm}
 \vspace{0.3cm}
 \vspace{0.3cm}
-\subsubsection{RPC name:~get\_all}
-
-{\bf Overview:} 
-returns a set of references to all objects
-
- \noindent {\bf Signature:} 
-\begin{verbatim} ((network ref) Set) get_all (session_id s)\end{verbatim}
-
-
-\vspace{0.3cm}
-
- \noindent {\bf Return Type:} 
-{\tt 
-(network ref) Set
-}
-
-
-references to all objects
-\vspace{0.3cm}
-\vspace{0.3cm}
-\vspace{0.3cm}
 \subsubsection{RPC name:~get\_by\_name\_label}
 
 {\bf Overview:} 
@@ -6275,27 +6149,6 @@ all fields from the object
 \vspace{0.3cm}
 \vspace{0.3cm}
 \vspace{0.3cm}
-\subsubsection{RPC name:~get\_all}
-
-{\bf Overview:} 
-returns a set of references to all objects
-
- \noindent {\bf Signature:} 
-\begin{verbatim} ((VIF ref) Set) get_all (session_id s)\end{verbatim}
-
-
-\vspace{0.3cm}
-
- \noindent {\bf Return Type:} 
-{\tt 
-(VIF ref) Set
-}
-
-
-references to all objects
-\vspace{0.3cm}
-\vspace{0.3cm}
-\vspace{0.3cm}
 
 \vspace{1cm}
 \newpage
@@ -6940,27 +6793,6 @@ all fields from the object
 \vspace{0.3cm}
 \vspace{0.3cm}
 \vspace{0.3cm}
-\subsubsection{RPC name:~get\_all}
-
-{\bf Overview:} 
-returns a set of references to all objects
-
- \noindent {\bf Signature:} 
-\begin{verbatim} ((PIF ref) Set) get_all (session_id s)\end{verbatim}
-
-
-\vspace{0.3cm}
-
- \noindent {\bf Return Type:} 
-{\tt 
-(PIF ref) Set
-}
-
-
-references to all objects
-\vspace{0.3cm}
-\vspace{0.3cm}
-\vspace{0.3cm}
 
 \vspace{1cm}
 \newpage
@@ -7527,27 +7359,6 @@ all fields from the object
 \vspace{0.3cm}
 \vspace{0.3cm}
 \vspace{0.3cm}
-\subsubsection{RPC name:~get\_all}
-
-{\bf Overview:} 
-returns a set of references to all objects
-
- \noindent {\bf Signature:} 
-\begin{verbatim} ((SR ref) Set) get_all (session_id s)\end{verbatim}
-
-
-\vspace{0.3cm}
-
- \noindent {\bf Return Type:} 
-{\tt 
-(SR ref) Set
-}
-
-
-references to all objects
-\vspace{0.3cm}
-\vspace{0.3cm}
-\vspace{0.3cm}
 \subsubsection{RPC name:~get\_by\_name\_label}
 
 {\bf Overview:} 
@@ -8422,27 +8233,6 @@ all fields from the object
 \vspace{0.3cm}
 \vspace{0.3cm}
 \vspace{0.3cm}
-\subsubsection{RPC name:~get\_all}
-
-{\bf Overview:} 
-returns a set of references to all objects
-
- \noindent {\bf Signature:} 
-\begin{verbatim} ((VDI ref) Set) get_all (session_id s)\end{verbatim}
-
-
-\vspace{0.3cm}
-
- \noindent {\bf Return Type:} 
-{\tt 
-(VDI ref) Set
-}
-
-
-references to all objects
-\vspace{0.3cm}
-\vspace{0.3cm}
-\vspace{0.3cm}
 \subsubsection{RPC name:~get\_by\_name\_label}
 
 {\bf Overview:} 
@@ -9086,27 +8876,6 @@ all fields from the object
 \vspace{0.3cm}
 \vspace{0.3cm}
 \vspace{0.3cm}
-\subsubsection{RPC name:~get\_all}
-
-{\bf Overview:} 
-returns a set of references to all objects
-
- \noindent {\bf Signature:} 
-\begin{verbatim} ((VBD ref) Set) get_all (session_id s)\end{verbatim}
-
-
-\vspace{0.3cm}
-
- \noindent {\bf Return Type:} 
-{\tt 
-(VBD ref) Set
-}
-
-
-references to all objects
-\vspace{0.3cm}
-\vspace{0.3cm}
-\vspace{0.3cm}
 
 \vspace{1cm}
 \newpage
@@ -9415,27 +9184,6 @@ all fields from the object
 \vspace{0.3cm}
 \vspace{0.3cm}
 \vspace{0.3cm}
-\subsubsection{RPC name:~get\_all}
-
-{\bf Overview:} 
-returns a set of references to all objects
-
- \noindent {\bf Signature:} 
-\begin{verbatim} ((VTPM ref) Set) get_all (session_id s)\end{verbatim}
-
-
-\vspace{0.3cm}
-
- \noindent {\bf Return Type:} 
-{\tt 
-(VTPM ref) Set
-}
-
-
-references to all objects
-\vspace{0.3cm}
-\vspace{0.3cm}
-\vspace{0.3cm}
 
 \vspace{1cm}
 \newpage
@@ -9712,27 +9460,6 @@ all fields from the object
 \vspace{0.3cm}
 \vspace{0.3cm}
 \vspace{0.3cm}
-\subsubsection{RPC name:~get\_all}
-
-{\bf Overview:} 
-returns a set of references to all objects
-
- \noindent {\bf Signature:} 
-\begin{verbatim} ((user ref) Set) get_all (session_id s)\end{verbatim}
-
-
-\vspace{0.3cm}
-
- \noindent {\bf Return Type:} 
-{\tt 
-(user ref) Set
-}
-
-
-references to all objects
-\vspace{0.3cm}
-\vspace{0.3cm}
-\vspace{0.3cm}
 
 \vspace{1cm}
 \newpage
@@ -9910,27 +9637,6 @@ all fields from the object
 \vspace{0.3cm}
 \vspace{0.3cm}
 \vspace{0.3cm}
-\subsubsection{RPC name:~get\_all}
-
-{\bf Overview:} 
-returns a set of references to all objects
-
- \noindent {\bf Signature:} 
-\begin{verbatim} ((debug ref) Set) get_all (session_id s)\end{verbatim}
-
-
-\vspace{0.3cm}
-
- \noindent {\bf Return Type:} 
-{\tt 
-(debug ref) Set
-}
-
-
-references to all objects
-\vspace{0.3cm}
-\vspace{0.3cm}
-\vspace{0.3cm}
 
 \vspace{1cm}
 \section{DTD}